﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" CodeFile="findusername.aspx.cs" Inherits="vboard_membership_findusername" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
	<div class="Title"><%= GetLocalResourceObject("Title").ToString() %></div>

	<asp:Panel ID="FindUserNameFormPanel" runat="server"
		CssClass="ControlForm"
		DefaultButton="FindUserNameButton">
		<div class="Content"><%= GetLocalResourceObject("Content").ToString()%></div>

		<dl class="VGlobal_FormFieldDL60">
			<dt>
				<asp:Label ID="EmailLabel" runat="server"
					Text="<%$ Resources:Email %>"
					AssociatedControlID="EmailTextBox" />
			</dt>
			<dd>
				<asp:TextBox ID="EmailTextBox" runat="server"
					Columns="30"
					MaxLength="200"
					CssClass="VWebGlobal_TextBox" />
				<asp:RequiredFieldValidator ID="EmailTextBoxRequiredFieldValidator" runat="server"
					Display="None"
					ControlToValidate="EmailTextBox"
					SetFocusOnError="true"
					ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Insert %>" />
				<ajaxToolkit:ValidatorCalloutExtender ID="EmailTextBoxRequiredFieldValidatorCalloutExtender" runat="Server"
					TargetControlID="EmailTextBoxRequiredFieldValidator"
					CssClass="VWebGlobal_Validatorcallout"
					Width="250px"
					HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				<asp:RegularExpressionValidator ID="EmailTextBoxRegularExpressionValidator" runat="server"
					Display="None"
					ControlToValidate="EmailTextBox"
					ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Email_Check %>"
					ValidationExpression="<%$ Resources:VGlobalResources, General_Expression_Email %>"
					SetFocusOnError="true" />
				<ajaxToolkit:ValidatorCalloutExtender ID="EmailTextBoxRegularExpressionValidatorCalloutExtender" runat="Server"
					TargetControlID="EmailTextBoxRegularExpressionValidator"
					CssClass="VWebGlobal_Validatorcallout"
					Width="300px"
					HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
			</dd>

			<dt></dt>
			<dd>
				<asp:Button ID="FindUserNameButton" runat="server"
					OnClick="FindUserNameButton_Click"
					Text="<%$ Resources:FindUserNameButton %>" />
			</dd>
		</dl>
	</asp:Panel>
</asp:Content>